[Annotations] Add array length for GtkTreeStore
authorViktor Pracht <ViktorPracht@gmx.de>
Fri, 19 Feb 2010 20:57:08 +0000 (18:57 -0200)
committerJohan Dahlin <johan@gnome.org>
Fri, 19 Feb 2010 20:58:01 +0000 (18:58 -0200)
https://bugzilla.gnome.org/show_bug.cgi?id=603923

gtk/gtktreestore.c

index ea5a75fd7fcff52b2703988d2ddd6ba6664fe8fa..7f5f15549c611551cf8d26777f4804eb9b41d083 100644 (file)
@@ -288,7 +288,7 @@ gtk_tree_store_new (gint n_columns,
 /**
  * gtk_tree_store_newv:
  * @n_columns: number of columns in the tree store
- * @types: an array of #GType types for the columns, from first to last
+ * @types: (array length=n_columns): an array of #GType types for the columns, from first to last
  *
  * Non vararg creation function.  Used primarily by language bindings.
  *
@@ -980,8 +980,8 @@ gtk_tree_store_set_valist_internal (GtkTreeStore *tree_store,
  * gtk_tree_store_set_valuesv:
  * @tree_store: A #GtkTreeStore
  * @iter: A valid #GtkTreeIter for the row being modified
- * @columns: an array of column numbers
- * @values: an array of GValues
+ * @columns: (array length=n_values): an array of column numbers
+ * @values: (array length=n_values): an array of GValues
  * @n_values: the length of the @columns and @values arrays
  *
  * A variant of gtk_tree_store_set_valist() which takes